package com.atguigu.yygh.service;

/**
 * @author zr
 * @date 2021/12/7 21:05
 */

import com.atguigu.yygh.model.hosp.HospitalSet;
import com.atguigu.yygh.vo.hosp.HospitalSetQueryVo;
import com.atguigu.yygh.vo.order.SignInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;


public interface HospitalSetService extends IService<HospitalSet> {
    /**
     * 条件查询带分页
     *
     * @param page
     * @param hospitalSetQueryVo
     */
    void findPageHospSet(Page<HospitalSet> page, HospitalSetQueryVo hospitalSetQueryVo);

    /**
     * 保存医院设置
     *
     * @param hospitalSet
     * @return
     */
    boolean saveHospitalSet(HospitalSet hospitalSet);

    /**
     * 获取数据库中的signkey
     * @param hoscode
     * @return
     */
    String getHosCode(String hoscode);

    /**
     * 获取医院签名信息
     * @param hosCode
     * @return
     */
    SignInfoVo getSignInfoVo(String hosCode);
}
